package com.leon.android.component.workmanager_test

import com.billy.cc.core.component.CC
import com.billy.cc.core.component.IComponent
import org.jetbrains.anko.startActivity

/**
 * @time:2019/12/12 15:31
 * @author:Leon
 * @description:
 */
class WmComponent:IComponent {
    override fun onCall(cc: CC): Boolean {
        cc.context.startActivity<WmMainActivity>()
        return false
    }

    override fun getName(): String {
        return  "wmComponent"
    }
}